package com.linln.admin.miss.repository;

import com.linln.admin.miss.domain.SpotPool;
import com.linln.modules.system.repository.BaseRepository;

import java.util.List;

/**
 * @author hyf
 * @date 2021/10/11
 */
public interface SpotPoolRepository extends BaseRepository<SpotPool, Long> {
    SpotPool findSpotByUserId(Long userId);
    SpotPool findSpotPoolByIdIsNotInAndSexCode(List<Long> userIds,String sex);

    SpotPool findSpotPoolBySex(String sex);
    SpotPool findSpotPoolByWechatNumber(String wechatNumber);
}